package com.neutech.service.impl;

import com.neutech.dao.FoodDAO;
import com.neutech.dao.impl.FoodDAOImpl;
import com.neutech.service.FoodService;
import com.neutech.vo.ResultVO;

public class FoodServiceImpl implements FoodService {

    @Override
    public ResultVO listFood(String id) {
        FoodDAO foodDAO = new FoodDAOImpl();
        return ResultVO.success(foodDAO.listFoodByBusinessId(Integer.valueOf(id)));
    }
}
